//
//  TouXiangTableViewCell.m
//  ZhiBoYuan
//
//  Created by coder_di on 2018/4/17.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "TouXiangTableViewCell.h"

@implementation TouXiangTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        //添加UI
        [self addUI];
    }
    return self;
}

-(void)addUI{
    
    self.nameLable = [[UILabel alloc]initWithFrame:CGRectMake(20 * KscreenWidth, 40 * KscreenHeight, 50 * KscreenWidth, 20 * KscreenHeight)];
    self.nameLable.text = @"头像";
    self.nameLable.font = [UIFont systemFontOfSize:18];
    [self.contentView addSubview:self.nameLable];
    
//    self.imageVC = [[UIImageView alloc]initWithFrame:CGRectMake(ScreenWidth - 100 * KscreenWidth, 20 * KscreenHeight, 60 * KscreenWidth, 60 * KscreenHeight)];
//        self.imageVC.layer.masksToBounds = YES;
////        self.headImageView.userInteractionEnabled = YES;
//        self.imageVC.contentMode = UIViewContentModeScaleAspectFill;
//        self.imageVC.clipsToBounds = YES;
//        self.imageVC.layer.cornerRadius = 30 * KscreenWidth;
//    
//    self.imageVC.backgroundColor = [UIColor yellowColor];
//    [self.contentView addSubview:self.imageVC];
    
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
